package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.domain.TAuditLog;
import com.ruoyi.business.domain.TAuditRecordLog;
import com.ruoyi.business.vo.TAuditLogVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 审批记录Mapper接口
 *
 * @author Tellsea
 * @date 2024-01-26
 */
public interface TAuditLogMapper extends BaseMapper<TAuditLog> {

    Page<TAuditLogVo> queryList(Page<?> page, @Param("entity") TAuditLogVo entity);

    List<TAuditLogVo> queryList(@Param("entity") TAuditLogVo entity);

    TAuditLogVo queryById(@Param("id") Long id);

    List<TAuditRecordLog> getRegisterAuditLogList(@Param("id") Long id);

    List<TAuditRecordLog> getGraduationAuditLogList(@Param("id") Long id);

    List<TAuditLogVo> listByRegistId(Long id);
}
